STEP 4: Now let's setup the loop that will run our experiments!

Remember, num_experiments hold the value 25. We'll use it in the range() to run the experiment that many times!

  • In LOGIC, click on . Drag out Loop with Range.
  • Change what's inside the range() from the number 5 to the variable num_experiments.
  • In SUBJECT, click on . Drag Spin Fast inside your loop.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)